/*
    @author:sa
    @date:2024/11/13 14:10
*/
public class MethodDemo01 {
    public static void main(String[] args) {
        add(1,2,3,4);
    }
    public static int add(int a,int...b){
        for (int i=0;i<b.length;i++){
            System.out.println(b[i]);
        }
        return 10;
    }
}
